package com.spring.demo.redis.dao;

import com.spring.demo.redis.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserDao {
    @Select("select * from student")
    public List<User> queryUserAll();

    @Select("select * from  student where id=#{id}")
    public User queryByIdOne(int id);

    public User queryByIdTwo(int id);

}
